package xyz.xtt.equity.entity;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 权益信息表
 * </p>
 *
 * @author dale
 * @since 2025-02-10
 */
@Data
@Builder
@Accessors(chain = true)
@TableName("tbl_benefit")
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "TblBenefit对象", description = "权益信息表")
public class TblBenefit implements Serializable {

	private static final long serialVersionUID = 1L;

	@TableId("benefit_id")
	@ApiModelProperty("权益id")
	private Long benefitId;

	@ApiModelProperty("所属权益包id")
	private Long packageId;

	@ApiModelProperty("权益代码")
	private String benefitCode;

	@ApiModelProperty("权益名称")
	private String benefitName;

	@ApiModelProperty("权益元信息json字符串")
	private String metaJson;

	@ApiModelProperty("创建时间")
	private LocalDateTime createTime;

	@ApiModelProperty("更新时间")
	private LocalDateTime updateTime;

	@ApiModelProperty("逻辑删除标识 0-未删除，1-已删除")
	private Integer isDel;
}
